import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';

abstract class BaseStateless extends StatelessWidget {
  BaseStateless({super.key});

  late TextTheme textTheme;
  late AppLocalizations al;
  late ThemeData theme;
  late double screenWidth, screenHeight;

  @override
  Widget build(BuildContext context) {
    al = AppLocalizations.of(context)!;
    textTheme = Theme.of(context).textTheme;
    theme = Theme.of(context);

    screenHeight = MediaQuery.of(context).size.height;
    screenWidth = MediaQuery.of(context).size.width;
    return buildState(context);
  }

  buildState(BuildContext context);
}
